package com.kpmg.datalake.common.model;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 通用表头字段映射表
 * </p>
 *
 * @author alex [alex.zhao@kpmg.com]
 * @since 2018-07-30
 */
public class PrjRptSqlMpng implements Serializable {

    private static final long serialVersionUID = 99485862747822530L;
    /**
     * 映射主键
     */
    @TableId(type = IdType.UUID)
    private String mpngId;
    /**
     * 项目主键
     */
    private String prjId;
    /**
     * 项目报表脚本主键
     */
    private String rptSqlId;
    /**
     * 格式编码
     */
    private String fmtCd;
    /**
     * 列编码
     */
    private String clmnCd;
    /**
     * 创建时间
     * 
     */
    private Date crtDt;
    /**
     * 列类型
     */
    private String clmnTp;
    /**
     * 是否有效
     * 
     * 
     */
    private Integer delInd;
    /**
     * 该列对应的映射字段编码
     * 
     */
    private String fldCdMpng;
    /**
     * 创建人
     * 
     */
    private String crtUsrId;
    /**
     * 更新人
     */
    private String udtUsrId;
    /**
     * 更新时间
     */
    private Date udtDt;
    /**
     * 排序
     */
    private Integer dsplOrdr;

    
    public String getFldCdMpng() {
    	return fldCdMpng;
    }
    
    public void setPrjId(String prjId) {
    	this.prjId = prjId;
    }
    
    public String getRptSqlId() {
    	return rptSqlId;
    }

    public String getMpngId() {
        return mpngId;
    }

    public String getClmnCd() {
        return clmnCd;
    }

    public void setClmnTp(String clmnTp) {
        this.clmnTp = clmnTp;
    }

    public String getFmtCd() {
        return fmtCd;
    }

    public void setFldCdMpng(String fldCdMpng) {
        this.fldCdMpng = fldCdMpng;
    }
    
    public void setClmnCd(String clmnCd) {
    	this.clmnCd = clmnCd;
    }
    
    public void setMpngId(String mpngId) {
    	this.mpngId = mpngId;
    }
    
    public String getPrjId() {
    	return prjId;
    }
    
    public void setDelInd(Integer delInd) {
    	this.delInd = delInd;
    }
    
    public String getCrtUsrId() {
    	return crtUsrId;
    }
    
    public void setFmtCd(String fmtCd) {
    	this.fmtCd = fmtCd;
    }
    
    public void setRptSqlId(String rptSqlId) {
    	this.rptSqlId = rptSqlId;
    }
    
    public void setDsplOrdr(Integer dsplOrdr) {
    	this.dsplOrdr = dsplOrdr;
    }
    
    @Override
    public String toString() {
    	return "PrjRptSqlMpng" + JSONObject.toJSONString(this);
    }
    
    public Date getUdtDt() {
    	return udtDt;
    }
    
    public String getClmnTp() {
    	return clmnTp;
    }

    public Integer getDelInd() {
        return delInd;
    }

    public void setCrtUsrId(String crtUsrId) {
        this.crtUsrId = crtUsrId;
    }

    public Date getCrtDt() {
        return crtDt;
    }

    public void setCrtDt(Date crtDt) {
        this.crtDt = crtDt;
    }

    public String getUdtUsrId() {
        return udtUsrId;
    }

    public void setUdtUsrId(String udtUsrId) {
        this.udtUsrId = udtUsrId;
    }

    public void setUdtDt(Date udtDt) {
        this.udtDt = udtDt;
    }

    public Integer getDsplOrdr() {
        return dsplOrdr;
    }
}
